MailPoet\Entities\NewsletterEntity B

Total Complexity 90
Dependencies 14
Dependents 107
Total lines 613
Lines of code 260
Logical lines of code 139
Comment lines 209
Methods 54
Properties 19

Methods 54

Method Rating Maintainability Complexity Lines of code
setStatus()
A
52 13 22
getFilterSegmentId()
S
62 4 11
getOption()
S
67 4 7
isTransactional()
S
62 3 12
getOptionsAsArray()
S
63 3 11
getProcessedAt()
S
63 3 11
getSegmentIds()
S
68 3 7
__get()
S
67 2 7
getOptionValue()
S
75 2 4
getLatestQueue()
S
69 2 6
getLastUpdatedQueue()
S
69 2 6
getGlobalStyle()
S
68 2 7
setGlobalStyle()
S
68 2 7
getContent()
S
74 2 4
getWpPostId()
S
75 2 4
getCampaignName()
S
69 2 7
getCampaignNameOrSubject()
S
76 2 4
getUnfinishedQueues()
S
70 1 6
canBeSetSent()
S
78 1 3
getQueues()
S
82 1 3
getWpPost()
S
77 1 4
setWpPost()
S
81 1 3
getOptions()
S
82 1 3
getNewsletterSegments()
S
82 1 3
getChildren()
S
82 1 3
setParent()
S
81 1 3
getParent()
S
77 1 4
__construct()
S
71 1 6
setUnsubscribeToken()
S
81 1 3
setSenderName()
S
81 1 3
__clone()
S
69 1 7
getHash()
S
82 1 3
setHash()
S
81 1 3
getSubject()
S
82 1 3
setSubject()
S
81 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getSenderAddress()
S
82 1 3
setSenderAddress()
S
81 1 3
getSenderName()
S
82 1 3
getStatus()
S
82 1 3
getGaCampaign()
S
82 1 3
getReplyToAddress()
S
82 1 3
setReplyToAddress()
S
81 1 3
getReplyToName()
S
82 1 3
setReplyToName()
S
81 1 3
getPreheader()
S
82 1 3
setPreheader()
S
81 1 3
getBody()
S
82 1 3
setBody()
S
81 1 3
getSentAt()
S
82 1 3
setSentAt()
S
81 1 3
getUnsubscribeToken()
S
82 1 3
setGaCampaign()
S
81 1 3